<?php
/**
 *
 * Customer Seach Result Grid
 *
 */
use Fox\Generator;

$grid = new Fox\Grid('gResult');
$grid->fieldcat(array(array('mc_reference_intern','reference'),'name1','udate'));
$grid->fieldcat()->switchToObjectMode();
$grid->onClick(Generator::location(Generator::url('medicalcenters','update',null,array('mcid' => Generator::useAttribute('mcid')))));

return $grid;